// 引入base文件
@import url(base.less);
@baseSize: 3.75vmin;

.suspension {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    background-color: #fff;

    .m-navbar {
        display: flex;
        justify-content: space-between;
        height: (44 / @baseSize);
        padding: 0 (18 / @baseSize) 0 (12 / @baseSize);
        align-items: center;

        .logo {
            i {
                color: #fb7299;
                font-size: (28 / @baseSize);
            }
        }

        .right {
            display: flex;

            .search {
                color: #ccc;

                i {
                    font-size: (22 / @baseSize);
                }
            }

            .face {
                overflow: hidden;
                width: (24 / @baseSize);
                height: (24 / @baseSize);
                border-radius: 50%;
                margin: 0 (20 / @baseSize);
            }

            .app-btn {
                width: (72 / @baseSize);
                height: (24 / @baseSize);
            }
        }
    }

    .channel-menu {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: (40 / @baseSize);
        border-bottom: 1px solid #e7e7e7;

        .tabs {
            flex: 1;
            overflow: hidden;

            .tabs-list {
                display: flex;

                a {
                    padding: 0 (16 / @baseSize);
                    white-space: nowrap;
                    font-size: (14 / @baseSize);
                    height: (40 / @baseSize);
                    line-height: (40 / @baseSize);
                }

                .line {
                    position: absolute;
                    left: (16 / @baseSize);
                    bottom: 0;
                    width: (28 / @baseSize);
                    height: (2 / @baseSize);
                    background-color: #fb7299;
                }
            }
        }

        .after {
            width: (40 / @baseSize);
            height: (40 / @baseSize);
            line-height: (40 / @baseSize);
            text-align: center;
            color: #ccc;

            i {
                font-size: (20 / @baseSize);
            }
        }
    }
}

.m-home {
    padding: (85 / @baseSize) (5 / @baseSize) 0;

    .video-list {
        display: flex;
        flex-wrap: wrap;

        .video-item {
            width: 50%;
            padding: (8 / @baseSize) (5 / @baseSize);

            .card {
                position: relative;
                height: (97 / @baseSize);

                .count {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    height: (27 / @baseSize);
                    padding: 0 (5 / @baseSize);
                    background-color: pink;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    font-size: (12 / @baseSize);
                    color: #fff;
                    background: linear-gradient(right, transparent, red);
                }
            }

            .title {
                margin-top: (5 / @baseSize);
                font-size: (12 / @baseSize);
            }
        }
    }
}

.app {
    position: fixed;
    left: 0;
    bottom: (30 / @baseSize);
    width: 100%;
    height: (38 / @baseSize);

    .btn-app {
        margin: 0 (20 / @baseSize);
        height: (38 / @baseSize);
        border-radius: (19 / @baseSize);
        text-align: center;
        line-height: (38 / @baseSize);
        background-color: #fb7299;
        color: #fff;
    }
}